package com.cheyun.netsalev3.utils.api

import com.google.gson.annotations.SerializedName
import java.io.Serializable

/**
 * @author Michael
 * @date  2018/11/6 - 17:11.
 */
 class BaseResp<T> : Serializable {


    @SerializedName("state")
    var state: String =""

    @SerializedName("msg")
    var msg: String? = null

    @SerializedName("data")
    var data: T? = null

   @SerializedName("skey")
    var skey: String = ""

    @SerializedName("rows")
    var rows: Int = 0


    override fun toString(): String {
        return "BaseResp{" +
                "state=" + state +
                ", msg='" + msg + '\''.toString() +
                ", data=" + data.toString() +
                ", rows=" + rows +
                '}'.toString()
    }

}